package com.ddtech.business.web.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 学员导师关系
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@Accessors(chain = true)
@ApiModel(value="TeacherUserRel对象", description="学员导师关系")
public class TeacherUserRel {

    @NotBlank(message = "导师id不能为空")
    @ApiModelProperty(value = "导师id")
    private String teacherId;

    @ApiModelProperty(value = "用户id")
    @NotBlank(message = "用户id不能为空")
    private String userId;

    public static final String USER_ID="user_id";
    public static final String TEACHER_ID="teacher_id";
}
